package com.ruoyi.system.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;
import java.time.LocalTime;

/**
 * @author chenhui
 * @date 2024-03-23
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@SuperBuilder(toBuilder = true)
public class HomestayBasicDto extends BaseDto implements Serializable {

    private static final long serialVersionUID = 1L;


    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 商家ID */
    @Excel(name = "商家ID")
    private Long merchantId;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 电话 */
    @Excel(name = "电话")
    private String telephone;

    /** 描述 */
    @Excel(name = "描述")
    private String describe;

    /** 订房必读-特殊入离时间 */
//    @Excel(name = "订房必读-特殊入离时间")
    private String requiredReadTime;

    /** 订房必读-城市通知 */
    @Excel(name = "订房必读-城市通知")
    private String requiredReadCityNotice;

    /** 入住时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "入住时间", width = 30, dateFormat = "HH:mm")
    private LocalTime enterTime;

    /** 离开时间 */
    @JsonFormat(pattern = "HH:mm:ss")
    @Excel(name = "离开时间", width = 30, dateFormat = "HH:mm")
    private LocalTime leaveTime;

    /** 入住提示 */
    @Excel(name = "入住提示")
    private String enterReminder;

    /** 宠物须知 */
    @Excel(name = "宠物须知")
    private String petNotice;

    /** 早餐须知 */
    @Excel(name = "早餐须知")
    private String breakfastNotice;

    /** 预订提示 */
    @Excel(name = "预订提示")
    private String bookTips;

    /** 收费说明 */
    @Excel(name = "收费说明")
    private String feeDescription;

    /** 删除标志：0：删除；1：未删除 */
    @Excel(name = "删除标志：0：删除；1：未删除")
    private Long deleteFlag;
}
